package org.example.spring.service;

import org.example.spring.domain.pojo.User;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public interface UserService {
    User getUser(String username, String password);

    User findByUserName(String username);

    void register(User u);

    void updatePwd(User u);
}


